<?php include("../includes/header.php") ?>
<title>LazySwim</title>
<link rel='stylesheet' type='text/css' href='layout.css' />
<script type='text/javascript' src='./login/ajax_login.js'></script>
</head>

<body>
<div id="page">
    <div id="page-top">
        <div id="page-bottom">
          <div id="header">
                <div id="header-info">
                    <h1>LAZYSWIM</h1>
                    <div class="description">Simplistic Swim System</div>
                </div>
				<!-- Header Goes Here -->
                <?php printHeader(); ?>
				<!-- Header Ends Here -->
                <div id="header-date">Today is <?php echo date('l, F jS, Y'); ?></div>
                <div id="header-cats">
				<!-- Welcome Message Starts Here -->
                    <ul>
					<?php include("../includes/welcomeBar.php"); ?>
					</ul>
				<!-- Welcome Message Ends Here -->	
                </div>
            </div>
            <div id="main">

                <div id="sidebar">
                    <?php
					// include the corresponding navigation page
                    include("../includes/navigation.php");
					?>     
                </div>

<!-- main body -->

                <div class="featured-post">
                    <div class="post-title">
                        <h2>Login</h2>
                    </div>
                    <div class="post-entry">
					<p></p>
						<form action='#' method='post' onsubmit='login(); return false;'>
						<div id='form_box'>
						<table class='form_table' cellpadding='10px'>
							<tr class='form_top'><td colspan='2'>Login to <span class='text_logo'>LazySwim</span></td></tr>
							<tr class='form_mid'>
								<td>Email:</td><td><input type='text' name='email' /></td>
							</tr>
							<tr class='form_mid'>
								<td>Password:</td><td><input type='password' name='password' /></td>
							</tr>
							<tr>
								<td></td><td><input type='submit' value='Login' /></td>
							</tr>
							<tr>
								<td colspan='2'>
									<div id='msg'></div>
								</td>
							</tr>
							<tr>
								<td><a href='register.php'>Create an account</a></td><td class='right_text'><a href='forgot_password.php'>Forgot Password?</a></td>
							</tr>
						</table>
						</div>
						</form>
                    </div>
                </div>

             
                <div class="clear"></div>

            </div>
			<!-- Footer Goes Here -->
            <?php include("../includes/footer.php"); ?>
			<!-- Footer Ends Here -->
        </div>
    </div>
</div>
</body>
</html>
